FreeType-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

FreeType.LowLevel.Types

Synopsis

Documentation

newtype F26'6 #

Fixed point (26.6) number format: 26 bits for integral, and 6 for fractional.

Constructors

F26'6 

Fields

Instances
Eq F26'6 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: F26'6 -> F26'6 -> Bool #

(/=) :: F26'6 -> F26'6 -> Bool #

Ord F26'6 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

compare :: F26'6 -> F26'6 -> Ordering #

(<) :: F26'6 -> F26'6 -> Bool #

(<=) :: F26'6 -> F26'6 -> Bool #

(>) :: F26'6 -> F26'6 -> Bool #

(>=) :: F26'6 -> F26'6 -> Bool #

max :: F26'6 -> F26'6 -> F26'6 #

min :: F26'6 -> F26'6 -> F26'6 #

Storable F26'6 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

sizeOf :: F26'6 -> Int #

alignment :: F26'6 -> Int #

peekElemOff :: Ptr F26'6 -> Int -> IO F26'6 #

pokeElemOff :: Ptr F26'6 -> Int -> F26'6 -> IO () #

peekByteOff :: Ptr b -> Int -> IO F26'6 #

pokeByteOff :: Ptr b -> Int -> F26'6 -> IO () #

peek :: Ptr F26'6 -> IO F26'6 #

poke :: Ptr F26'6 -> F26'6 -> IO () #

FixedPoint F26'6 # 
Instance details

Defined in FreeType.LowLevel.Types

Associated Types

type RawType F26'6 :: Type #

type RawType F26'6 # 
Instance details

Defined in FreeType.LowLevel.Types

newtype F16'16 #

Fixed point (16.16) number format.

Constructors

F16'16 

Fields

Instances
Eq F16'16 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: F16'16 -> F16'16 -> Bool #

(/=) :: F16'16 -> F16'16 -> Bool #

Ord F16'16 # 
Instance details

Defined in FreeType.LowLevel.Types

Storable F16'16 # 
Instance details

Defined in FreeType.LowLevel.Types

FixedPoint F16'16 # 
Instance details

Defined in FreeType.LowLevel.Types

Associated Types

type RawType F16'16 :: Type #

type RawType F16'16 # 
Instance details

Defined in FreeType.LowLevel.Types

newtype F2'14 #

Fixed point (2.14) number format.

Constructors

F2'14 

Fields

Instances
Eq F2'14 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: F2'14 -> F2'14 -> Bool #

(/=) :: F2'14 -> F2'14 -> Bool #

Ord F2'14 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

compare :: F2'14 -> F2'14 -> Ordering #

(<) :: F2'14 -> F2'14 -> Bool #

(<=) :: F2'14 -> F2'14 -> Bool #

(>) :: F2'14 -> F2'14 -> Bool #

(>=) :: F2'14 -> F2'14 -> Bool #

max :: F2'14 -> F2'14 -> F2'14 #

min :: F2'14 -> F2'14 -> F2'14 #

Storable F2'14 # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

sizeOf :: F2'14 -> Int #

alignment :: F2'14 -> Int #

peekElemOff :: Ptr F2'14 -> Int -> IO F2'14 #

pokeElemOff :: Ptr F2'14 -> Int -> F2'14 -> IO () #

peekByteOff :: Ptr b -> Int -> IO F2'14 #

pokeByteOff :: Ptr b -> Int -> F2'14 -> IO () #

peek :: Ptr F2'14 -> IO F2'14 #

poke :: Ptr F2'14 -> F2'14 -> IO () #

FixedPoint F2'14 # 
Instance details

Defined in FreeType.LowLevel.Types

Associated Types

type RawType F2'14 :: Type #

type RawType F2'14 # 
Instance details

Defined in FreeType.LowLevel.Types

data Vector a #

Wrapper for FT_Vector.

Constructors

Vector a a 
Instances
Functor Vector # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

fmap :: (a -> b) -> Vector a -> Vector b #

(<$) :: a -> Vector b -> Vector a #

Eq a => Eq (Vector a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: Vector a -> Vector a -> Bool #

(/=) :: Vector a -> Vector a -> Bool #

Show a => Show (Vector a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

showsPrec :: Int -> Vector a -> ShowS #

show :: Vector a -> String #

showList :: [Vector a] -> ShowS #

Storable a => Storable (Vector a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

sizeOf :: Vector a -> Int #

alignment :: Vector a -> Int #

peekElemOff :: Ptr (Vector a) -> Int -> IO (Vector a) #

pokeElemOff :: Ptr (Vector a) -> Int -> Vector a -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Vector a) #

pokeByteOff :: Ptr b -> Int -> Vector a -> IO () #

peek :: Ptr (Vector a) -> IO (Vector a) #

poke :: Ptr (Vector a) -> Vector a -> IO () #

data BBox a #

Wrapper for FT_BBox (the bounding box).

Constructors

BBox 

Fields

  • xMin :: a

    The horizontal minimum (left-most).

  • yMin :: a

    The vertical minimum (bottom-most).

  • xMax :: a

    The horizontal maximum (right-most).

  • yMax :: a

    The vertical maximum (top-most).

Instances
Functor BBox # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

fmap :: (a -> b) -> BBox a -> BBox b #

(<$) :: a -> BBox b -> BBox a #

Eq a => Eq (BBox a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: BBox a -> BBox a -> Bool #

(/=) :: BBox a -> BBox a -> Bool #

Show a => Show (BBox a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

showsPrec :: Int -> BBox a -> ShowS #

show :: BBox a -> String #

showList :: [BBox a] -> ShowS #

Ord a => Semigroup (BBox a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(<>) :: BBox a -> BBox a -> BBox a #

sconcat :: NonEmpty (BBox a) -> BBox a #

stimes :: Integral b => b -> BBox a -> BBox a #

Storable a => Storable (BBox a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

sizeOf :: BBox a -> Int #

alignment :: BBox a -> Int #

peekElemOff :: Ptr (BBox a) -> Int -> IO (BBox a) #

pokeElemOff :: Ptr (BBox a) -> Int -> BBox a -> IO () #

peekByteOff :: Ptr b -> Int -> IO (BBox a) #

pokeByteOff :: Ptr b -> Int -> BBox a -> IO () #

peek :: Ptr (BBox a) -> IO (BBox a) #

poke :: Ptr (BBox a) -> BBox a -> IO () #

data Matrix a #

Transformation matrix

Constructors

Matrix 

Fields

  • xx :: a

    The (0,0) matrix coefficient.

  • xy :: a

    The (1,0) matrix coefficient.

  • yx :: a

    The (0,1) matrix coefficient.

  • yy :: a

    The (1,1) matrix coefficient.

Instances
Functor Matrix # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

fmap :: (a -> b) -> Matrix a -> Matrix b #

(<$) :: a -> Matrix b -> Matrix a #

Eq a => Eq (Matrix a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

(==) :: Matrix a -> Matrix a -> Bool #

(/=) :: Matrix a -> Matrix a -> Bool #

Storable a => Storable (Matrix a) # 
Instance details

Defined in FreeType.LowLevel.Types

Methods

sizeOf :: Matrix a -> Int #

alignment :: Matrix a -> Int #

peekElemOff :: Ptr (Matrix a) -> Int -> IO (Matrix a) #

pokeElemOff :: Ptr (Matrix a) -> Int -> Matrix a -> IO () #

peekByteOff :: Ptr b -> Int -> IO (Matrix a) #

pokeByteOff :: Ptr b -> Int -> Matrix a -> IO () #

peek :: Ptr (Matrix a) -> IO (Matrix a) #

poke :: Ptr (Matrix a) -> Matrix a -> IO () #